
#include "include.h"

//NS_GENERIC_FACTORY_CONSTRUCTOR(nsMessagePipe);
NS_GENERIC_FACTORY_SINGLETON_CONSTRUCTOR(nsMessagePipe, nsMessagePipeGetInstance);

NS_DEFINE_NAMED_CID(NS_MESSAGE_PIPE_CID);

static const mozilla::Module::CIDEntry kMyExtCIDs[] = {
	{ &kNS_MESSAGE_PIPE_CID, false, NULL, nsMessagePipeConstructor },   
	{ NULL }
};

static const mozilla::Module::ContractIDEntry kMyExtContracts[] = {
	{ NS_MESSAGE_PIPE_CONTRACTID, &kNS_MESSAGE_PIPE_CID },
	{ NULL }
};

static const mozilla::Module kPyXulModule = {
	mozilla::Module::kVersion,
	kMyExtCIDs,
	kMyExtContracts,
	NULL 
};

NSMODULE_DEFN(PyXul_Module) = &kPyXulModule;
NS_IMPL_MOZILLA192_NSGETMODULE(&kPyXulModule);

